package top.mcwebsite.playandroid.business.project.impl.api

import retrofit2.http.GET
import retrofit2.http.Path
import top.mcwebsite.playandroid.business.articles.api.model.ArticleModel
import top.mcwebsite.playandroid.business.project.impl.model.ProjectModel
import top.mcwebsite.playandroid.common.network.model.ApiResult
import top.mcwebsite.playandroid.common.network.model.PageModel
import top.mcwebsite.playandroid.common.network.model.RespModel

interface ProjectApiService {

    @GET("/article/listproject/{page}/json")
    suspend fun projects(@Path("page") page: Int): ApiResult<RespModel<PageModel<ProjectModel>>>
}